package com.tangding.service.role;

import java.util.List;

import com.tangding.common.exception.GException;
import com.tangding.service.entity.role.Role;

/**
 * @description 
 *
 * @author Ranger
 * @version 2017年11月9日_上午9:27:29
 *
 */
public interface RoleService {
	List<Role> getRoles(List<Integer> ids) throws GException;
	
	List<Role> getRoles(String uid) throws GException;
	
	void add(Role role) throws GException;

	List<Role> list() throws GException;
	
	void delete(Integer... ids) throws GException;
	
	void update(Role role) throws GException;
}
